export default {
	data() {
		return {
			limit: 10,
			list: []
		}
	},
	methods: {
		// 获取列表
		async getList(page, limit) {
			var res = await this.$get('server/index/getwentilist', {
				page: page,
				limit: limit,
			});
			if (res.errcode != 0) {
				this.$toast(res.errmsg);
				this.$refs.paging.complete(false);
				return;
			}
			this.$refs.paging.complete(res.list);
		},
	}
}
